const Mock=require('mockjs')

Mock.mock("/dev-api/getKshop",()=>{
    return Mock.mock({
        code:200,
        "list|5-10":[{
            id:"@id",
            name:"@cname",
            "newprice|5-100":5,
            "oldprice|0.1-0.5":0.1,
            img:"@image(100x100,@color)"
        }] 
    })  
})